'''
Author: Joel
Date: 2025-04-07 10:08:41
LastEditors: Joel
LastEditTime: 2025-04-07 13:46:52
FilePath: /gd32f303cct6/build.py
Description: 
Copyright (C) 2025 YiJiaLink, All Rights Reserved. 
2025-04-07 10:08:41
'''

import os
cmd = 'make clean'
res = os.popen(cmd)
output_str = res.read()   # 获得输出字符串
print(output_str)
cmd = 'make'
res = os.popen(cmd)
output_str = res.read()   # 获得输出字符串
print(output_str)